import Vue from "vue";
import IModal from "@/components/base/IModal";
import IconTextBtn from "@/components/base/icon-btn/text";
import IconBtn from "@/components/base/icon-btn";

const globalCms = {
  IModal,
  IconTextBtn,
  IconBtn,
};

function install() {
  Object.keys(globalCms).forEach((key) => Vue.component(key, globalCms[key]));
}

export default { install };
